
    import com.inotai.jasmine.*;
    import com.inotai.jasmine.value.*;

    Value value = Value.createNullValue();
    assert( value.getType() == ValueType.NULL );    
    try { value.getAsBoolean(); assert(false) } catch(e) { assert(e in ValueException); }
    try { value.getAsInteger(); assert(false) } catch(e) { assert(e in ValueException); }
    try { value.getAsReal(); assert(false) } catch(e) { assert(e in ValueException); }
    try { value.getAsString(); assert(false) } catch(e) { assert(e in ValueException); }
    try { value.getAsRegExp(); assert(false) } catch(e) { assert(e in ValueException); }